const router = require("express").Router();
module.exports =  app => {
  const usersController = require('../controller/user.js');
  router.get('/', usersController.findAll);
  router.get('/findAllUser', usersController.findAll);
  app.use('/api/users', router);
}